<?
global $db,$user;

inc_inclib("query.php");
$users = query2map($db->query("select id,title from users order by title"),"id","title");


$f = array(
	"link"=>array(
		"title"=>"Link",
		"type"=>"default",
		),

	"users_id"=>array(
		"title"=>"Submitted By",
		"type"=>"select",
		"options"=>$users,
		"default"=>$uid,
		),
	
	"datetimeon"=>array(
		"title"=>"Date",
		"type"=>"easydatetime",
		"required"=>1,
		),
	
	
	"content"=>array(
		"title"=>"Content",
		"type"=>"textarea",
		#"rows"=>5,
		),
		

	);
return array(
	"fields"=>$f,
	"table"=>"docscomment",
	"title"=>"Docs Comment",
	"titles"=>"Docs Comments",
	"field"=>"link",
	"key"=>"id",
	);
?>
